{include file='common/header_test' /}
<!-- from zj -->
<link rel="stylesheet" href="/static/index/css/style.css" media="screen" type="text/css" />
<main id="main">

	<div class="container">

		<div class="row topspace">
            <!-- Sidebar -->
            <aside class="col-sm-2 sidebar sidebar-right" style="margin-top:1%;margin-right: -2%; ">
                <div>
                    <ul class="nav text-right aside_list" style="padding: 0px;">

                        {content:category id='$content.category_id' return='category'}
                        {content:category pid='$category.pid' return='categories'}

                        {foreach name='categories' item='vo'}
                            {if category.title == vo.title}
                            <li  class="aside_li aside_li_selected">
                                <a href="{$vo.url}">{$vo.title}</a>
                            </li>
                            {else /}
                             <li class="aside_li">
                                <a href="{$vo.url}">{$vo.title}</a>
                            </li>
                            {/if}
                        {/foreach}
                    </ul>
                </div>
            </aside>
            <!-- /Sidebar -->

			<!-- /Sidebar -->


            <!-- Article main content -->
            <article class="col-sm-9 maincontent" style="margin-left: 2%; ">
                <ul class="live list-group">
                    {foreach name='lists' item='vo'}
                    <li>
                        <a href="{$vo.url}">
                            <span class="rem1_2">{$vo.title}</span>
                            <div class="time">{$vo.create_time|date='Y-m-d H:i',###}</div>    
                        </a>
                    </li>
                    {/foreach}
                </ul>
            </article>
            <!-- /Article -->			

		</div>
	</div>	<!-- /container -->
	
</main>
<script type="text/javascript">
window.onresize = footerGoToBottom();
window.onload = footerGoToBottom();


function footerGoToBottom() {
    var body = document.getElementById('body');
    var underfooter = document.getElementById('underfooter');
    var goto_bottom = document.getElementById('goto_bottom');
    var all_cantent = document.getElementById('all_cantent');
    var bodyChildren = body.clientHeight - all_cantent.clientHeight;
    if (bodyChildren > 0) {
        goto_bottom.style.height = bodyChildren + "PX";
    }
}
</script>
{include file='common/footer_test' /}
